import React, { Component } from 'react'

export class Tabcon extends Component {
  render() {
      const { list,active}=this.props
    let  newarr= list.find((item)=>{
          return item.id===active
      })
    return (
      <div>
          {newarr ? newarr.con :''}

      </div>
    )
  }
}

export default Tabcon